#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main()
{
	int col = 0;
	while (scanf("%d", &col) != EOF)
	{
		int i = 0;
		for (i = 1; i <= col; i++)
		{
			int j = 0;
			for (j = 1; j <= col - i; j++)
			{
				printf("  ");
			}
			for (j = col - i + 1; j <= col; j++)
			{
				printf("* ");
			}
			printf("\n");
		}
	}
	return 0;
}